package com.paomi.client.activity.detail.model;

import com.paomi.client.bean.BaseJSON;
import com.paomi.client.fragment.first.model.TicketJson;

import java.io.Serializable;
import java.util.List;

/**
 * Created by pc on 2018/11/22
 * Describe:演出详情的接口数据
 * "returnData": {
 * "isCollection": false,//是否收藏该演出 true已收藏 false 未收藏
 * "star": "4.3",// null 代表没有评分
 * "goods": {//演出信息
 * },
 * "enterTypes": [//所有的入场方式
 * {
 * "value": "电子票入场 用户持二维码等方式扫码入场",//名称
 * "dicKey": "1",//enter_type
 * },
 * {
 * <p>
 * "value": "证件入场 用户持相关证件入场",
 * "dicKey": "2",
 * <p>
 * }
 * ]
 * },
 * "plans": [//场次信息
 * {
 * "id": 102961,//场次ID
 * "goodsId": 101162,
 * "name": "2018-10-19  23:00",//场次名称
 * "maxNum": 6,//本场-最大购票数
 * "startDate": 1537372800,//本场-开始售票时间
 * "endDate": 1639964800,//本场-结束售票时间
 * "showDate": 1542211200,//演出时间
 * "state": "1",//状态 0 无票 1 有票
 * },
 * {
 * "id": 102962,
 * "goodsId": 101162,
 * "name": "2018-10-18  23:00",
 * "maxNum": 6,
 * "startDate": 1537372800,
 * "endDate": 1639964800,
 * "showDate": 1542211200,
 * "state": "1",
 * }
 * ],
 * }
 * com.paomi.client.activity.detail.model
 */
public class DetailTicketBean extends BaseJSON {
    private TicketBean returnData;

    public TicketBean getReturnData() {
        return returnData;
    }

    public void setReturnData(TicketBean returnData) {
        this.returnData = returnData;
    }

    public class TicketBean implements Serializable {
        private boolean isCollection;
        private String star;
        private TicketJson goods;//演出信息
        private List<EnterTypeBean> enterTypes;
        private List<PlanBean> plans;
        private List<TipCommentBean> commentReasons;//评论-举报理由

        public boolean isCollection() {
            return isCollection;
        }

        public void setCollection(boolean collection) {
            isCollection = collection;
        }

        public String getStar() {
            return star;
        }

        public void setStar(String star) {
            this.star = star;
        }

        public TicketJson getGoods() {
            return goods;
        }

        public void setGoods(TicketJson goods) {
            this.goods = goods;
        }

        public List<EnterTypeBean> getEnterTypes() {
            return enterTypes;
        }

        public void setEnterTypes(List<EnterTypeBean> enterTypes) {
            this.enterTypes = enterTypes;
        }

        public List<PlanBean> getPlans() {
            return plans;
        }

        public void setPlans(List<PlanBean> plans) {
            this.plans = plans;
        }

        public List<TipCommentBean> getCommentReasons() {
            return commentReasons;
        }

        public void setCommentReasons(List<TipCommentBean> commentReasons) {
            this.commentReasons = commentReasons;
        }
    }
}
